<template>
	<div>
		<div v-if="navId==1">
			<TestCatfish />
		</div>
		<div v-else-if="navId==2">
			<TestDianYiHuo />
		</div>
		<div v-else>
			<br />欢迎使用隼核 - 测试数据准备平台
		</div>
	</div>
</template>

<script type="text/javascript">
import Data from './BusLineMsg.js'
import TestCatfish from './TestCatfish.vue'
import TestDianYiHuo from './TestDianYiHuo.vue'

export default {
	data() {
		return {
			navId: 0
		}
	},
	mounted: function(){
		var _this=this;
		Data.$on('option', function(val){
			_this.navId=val;
		})
	},
	components: {
		TestCatfish,
		TestDianYiHuo
	}
}
</script>

<style type="text/css">

</style>